package android.cmpe451.group7.dbrequest;

import java.lang.reflect.Type;
import android.cmpe451.group7.entity.Badge;
import com.google.gson.reflect.TypeToken;

/**
 * Extends the base class for getting Badge data from the DB
 * 
 * @author BurakSivrikaya
 */
public class SimpleBadgeTask extends RetrieveJSONTask<Badge> {
	@Override
	protected WebServiceResponse<Badge> doInBackground(String... params) {
		Type type = new TypeToken<WebServiceResponse<Badge>>() {
		}.getType();
		return super.doInBackground(type, params);
	}
}